package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import domain.Movie;

@Repository
public interface MovieDAO {
	public List<Movie> listAll(@Param("currentPage") Integer startPage, @Param("pageSize") Integer pageSize);

	public Integer addMovie(Movie movie);

	public Integer deleteMovie(Long id);
}
